##
## Makefile for bomberman in /home/noboa_y//noboa-y-global
##
## Made by youri noboa
## Login   <noboa_y@epitech.net>
##
## Started on  Fri Apr 20 13:06:36 2012 youri noboa
## Last update Fri Apr 20 13:29:43 2012 youri noboa
##

NAME=		bomberman

SRCS=		main.cpp

OBJS=		$(SRCS:.cpp=.o)

CXX=		g++ -g

CXXFLAGS=	-Wall -Wextra -Werror -g

LD_FGLAGS=	-I./libgdl_gl-2012.1/include -L./libgdl_gl-2012.1/lib	\
		-Wl,--rpath=./libgdl_gl-2012.1/lib -lgdl_gl -lGL -lGLU	\
		-lsfml-system -lsfml-window -lsfml-graphics

RM=		rm -f

$(NAME):	$(OBJS)
		$(CXX) -o $(NAME) $(LD_FGLAGS) $(OBJS)

all:		$(NAME) clean

clean:
		$(RM) $(OBJS) *# *~

fclean:		clean
		$(RM) $(NAME)

re:		fclean $(NAME)

.PHONY:		all clean fclean re
